﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pixysoft.Framework.Reflection
{
    public interface IDummyMethodInfo : IDummyMemberInfo
    {
        /// <summary>
        /// structure: always return;
        /// others = after invoke.
        /// </summary>
        IDummyType ReturnType { get;set; }

        bool IsPrivate { get;set; }

        bool IsPublic { get; set;}

        bool IsStatic { get; set;}

        bool IsVirtual { get; set;}

        /// <summary>
        /// structure: always return;
        /// </summary>
        /// <returns></returns>
        IDummyParameterInfo[] GetParameters();

        IDummyParameterInfo CreateParameter(string name, int position);

        /// <summary>
        /// 验证当前是否结构正确
        /// </summary>
        /// <returns></returns>
        bool Verify();
    }
}
